Skip to content

DOCS: refactor developer docs#538

Merged
jorisvandenbossche merged 13 commits intopydata:masterfrom
choldgraf:FIX-devdocs
Jan 11, 2022
Merged

DOCS: refactor developer docs#538
jorisvandenbossche merged 13 commits intopydata:masterfrom
choldgraf:FIX-devdocs

Conversation

@choldgraf
Copy link
Copy Markdown
Collaborator

@choldgraf choldgraf commented Jan 7, 2022

This refactors and updates our developer documentation, with the following major changes:

  • Information is now correct and updated according to our latest practices (closes Contributor page needs updates after landing stb-related improvements #521)
  • Splits the contributing docs into a few pages, so it's not as cluttered (also creates a new subdirectory contribute/ and adds a redirect)
  • Creates a "getting started" page that has the minimal information needed to make edits etc
  • Creates a separate page for installing the dev environment manually, for more advanced users
  • Creates a more extensible "topic guides" page for little how-tos and tips
  • Converts the rST into MyST Markdown for this content
  • Cleans up some filesystem and configuration cruft to make it easier to edit the docs

@choldgraf choldgraf requested review from damianavila and jorisvandenbossche and removed request for damianavila January 7, 2022 00:33
Comment thread docs/contribute/setup.md
Comment thread docs/contribute/topics.md Outdated
Comment thread noxfile.py
Comment thread noxfile.py
Copy link
Copy Markdown
Collaborator

@damianavila damianavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after the CI is green!

Copy link
Copy Markdown
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really nice improvement of the contributing docs, thanks a lot @choldgraf !

I did a read through and added some comments / questions.

Comment thread docs/contribute/setup.md Outdated
Comment thread docs/contribute/setup.md
Comment thread docs/contribute/setup.md Outdated
Comment thread docs/contribute/index.md Outdated
Comment thread docs/contribute/topics.md Outdated
Comment thread docs/contribute/manual.md Outdated
Comment thread docs/conf.py
Comment thread noxfile.py
Comment thread noxfile.py
@nox.session
def compile(session):
if _should_install(session):
session.install(".")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line needed? Because wouldn't that actually already install stb and compile the assets in a pip build env for installing the package?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we do need it, because this is what gives us the theme builder CLI, which is not bundle with it by default via install("."). Is that what you were asking?

choldgraf and others added 4 commits January 10, 2022 13:16
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
@choldgraf
Copy link
Copy Markdown
Collaborator Author

OK I believe I've addressed all of your suggestions and comments @jorisvandenbossche - I've "resolved" them via the github UI, let me know if I missed something!

Comment thread docs/conf.py Outdated
}

html_sidebars = {
"contributing": [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The contributing top-level page/directory doesn't exist anymore, so this has no effect?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point - I updated this in the latest commit

Comment thread docs/conf.py Outdated
@jorisvandenbossche jorisvandenbossche merged commit 5e6a822 into pydata:master Jan 11, 2022
@jorisvandenbossche
Copy link
Copy Markdown
Member

Thanks a lot @choldgraf !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contributor page needs updates after landing stb-related improvements

3 participants